New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@logto/client

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logto/client

[![Version](https://img.shields.io/npm/v/@logto/client)](https://www.npmjs.com/package/@logto/client) [![Build Status](https://github.com/logto-io/js/actions/workflows/main.yml/badge.svg)](https://github.com/logto-io/js/actions/workflows/main.yml) [![Code

  • 2.8.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.9K
increased by31.36%
Maintainers
2
Weekly downloads
 
Created
Source

Logto Client SDK

Version Build Status Codecov

The Logto JavaScript Client SDK written in TypeScript. Check out our docs for more information.

Installation

Using npm

npm install @logto/client

Using yarn

yarn add @logto/client

Using pnpm

pnpm add @logto/client

What is this and how does it work?

Logto JavaScript Client SDK is platformless, and is the foundation of the other platform's SDKs (Browser, Next.js, React, Vue, etc.). Usually you are not expected to use it directly in your application, as we have released a set of official SDKs to help you integrate Logto with your favorite JavaScript frameworks. Check this out and get started!

If Logto does not support your framework and you want to contribute by building a new SDK, we recommend checking out our Browser SDK and Node.js SDK and start from there.

Adapters

To implement a platform-specific SDK, you should implement the following adapters:

  1. requester: send http requests.
  2. storage: save tokens and other info.
  3. navigate: handle redirect.
  4. generateState: generate state.
  5. generateCodeVerifier: generate code verifier.
  6. generateCodeChallenge: generate code challenge.

See the adapters.ts for more information.

Resources

Website Docs Discord

FAQs

Package last updated on 18 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc